package com.ruoyi.system.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.EquipmentMaintenanceRecord;

/**
 * 设备维护信息Mapper接口
 * 
 * @author 管鸿影
 * @date 2024-12-08
 */
public interface EquipmentMaintenanceRecordMapper extends BaseMapper<EquipmentMaintenanceRecord>

{
    /**
     * 查询设备维护信息
     * 
     * @param maintenanceId 设备维护信息主键
     * @return 设备维护信息
     */
    public EquipmentMaintenanceRecord selectEquipmentMaintenanceRecordByMaintenanceId(Long maintenanceId);

    /**
     * 查询设备维护信息列表
     * 
     * @param equipmentMaintenanceRecord 设备维护信息
     * @return 设备维护信息集合
     */
    public List<EquipmentMaintenanceRecord> selectEquipmentMaintenanceRecordList(EquipmentMaintenanceRecord equipmentMaintenanceRecord);

    /**
     * 新增设备维护信息
     * 
     * @param equipmentMaintenanceRecord 设备维护信息
     * @return 结果
     */
    public int insertEquipmentMaintenanceRecord(EquipmentMaintenanceRecord equipmentMaintenanceRecord);

    /**
     * 修改设备维护信息
     * 
     * @param equipmentMaintenanceRecord 设备维护信息
     * @return 结果
     */
    public int updateEquipmentMaintenanceRecord(EquipmentMaintenanceRecord equipmentMaintenanceRecord);

    /**
     * 删除设备维护信息
     * 
     * @param maintenanceId 设备维护信息主键
     * @return 结果
     */
    public int deleteEquipmentMaintenanceRecordByMaintenanceId(Long maintenanceId);

    /**
     * 批量删除设备维护信息
     * 
     * @param maintenanceIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipmentMaintenanceRecordByMaintenanceIds(String[] maintenanceIds);
}
